﻿using System.Collections.Generic;
namespace ACFaceAPI.yufan
{
    /// <summary>
    /// 返回的代码信息
    /// </summary>
    public class YuFanCode
    {
        /// <summary>
        /// Codes表
        /// </summary>
        public static Dictionary<string, string> Codes => _Code;

        private static Dictionary<string, string> _Code = new Dictionary<string, string>()
        {
            {"LAN_SUS-0","接口调用成功" },
            {"LAN_EXP_1000","未知异常" },
            {"LAN_EXP-1001", "密码错误，请检查密码正确性"},
            {"LAN_EXP-1002", "pass 参数异常"},
            {"LAN_EXP-1003", "接口服务未设置密码，请先设置密码"},
            {"LAN_EXP-1004", "设备已被禁用，请先启用再做其它操作"},
            {"LAN_EXP-1005", "设备正忙，请稍后再试"},
            {"LAN_EXP-1006", "The XX method is not supported."},
            {"LAN_EXP-2001", "oldPass 参数异常"},
            {"LAN_EXP-2002", "newPass 参数异常"},
            {"LAN_EXP-2003", "密码不允许为空或空格"},
            {"LAN_EXP-2004", "新密码不允许为空或空格"},
            {"LAN_EXP-2005", "旧密码错误"},
            {"LAN_EXP-2006", "初次设置密码时，请确保oldPass、newPass 相同"},
            {"LAN_EXP-2007", "config 参数异常"},
            {"LAN_EXP-2008", "config 类json 格式错误"},
            {"LAN_EXP-2009", "json 参数不合法"},
            {"LAN_EXP-2013", "config 参数不能为空"},
            {"LAN_EXP-2014", "relaySwitch 参数异常"},
            {"LAN_EXP-2015", "serialOutMode 参数异常"},
            {"LAN_EXP-2016", "serialOutContent 参数异常"},
            {"LAN_EXP-2017", "weigenContent 参数异常"},
            {"LAN_EXP-2018", "showIp 参数异常"},
            {"LAN_EXP-2019", "showDeviceKey 参数异常"},
            {"LAN_EXP-2020", "showPeopleNum 参数异常"},
            {"LAN_EXP-2021", "showIp 参数不能为空"},
            {"LAN_EXP-2022", "showDeviceKey 参数不能为空"},
            {"LAN_EXP-2023", "showPeopleNum 参数不能为空"},
            {"LAN_EXP-2024", "imgBase64 参数异常"},
            {"LAN_EXP-2025", "imgBase64 图片解析异常"},
            {"LAN_EXP-2026", "设置失败，图片存储异常"},
            {"LAN_EXP-2027", "base64 参数异常"},
            {"LAN_EXP-2028", "base64 图片解析异常"},
            {"LAN_EXP-2029", "orientation 参数异常"},
            {"LAN_EXP-2030", "orientation 参数不合法"},
            {"LAN_EXP-2031", "设备不支持"},
            {"LAN_EXP-2032", "isDHCPMod 参数异常"},
            {"LAN_EXP-2033", "ip 参数异常"},
            {"LAN_EXP-2034", "gateway 参数异常"},
            {"LAN_EXP-2035", "subnetMask 参数异常"},
            {"LAN_EXP-2036", "DNS 参数异常"},
            {"LAN_EXP-2037", "isDHCPMod 参数不合法"},
            {"LAN_EXP-2038", "ip 格式错误"},
            {"LAN_EXP-2039", "gateway 格式错误"},
            {"LAN_EXP-2040", "subnetMask 格式错误"},
            {"LAN_EXP-2041", "dns 格式错误"},
            {"LAN_EXP-2042", "wifiMsg 参数异常"},
            {"LAN_EXP-2043", "pwd 参数异常"},
            {"LAN_EXP-2044", "isDHCPMod 参数不能为空"},
            {"LAN_EXP-2045", "wifiMsg 类json 格式错误"},
            {"LAN_EXP-2046", "ip 参数不能为空"},
            {"LAN_EXP-2047", "gateway 参数不能为空"},
            {"LAN_EXP-2048", "dns 参数不能为空"},
            {"LAN_EXP-2049", "timestamp 参数异常"},
            {"LAN_EXP-2050", "timestamp 时间格式错误"},
            {"LAN_EXP-2051", "time 参数异常"},
            {"LAN_EXP-2052", "time 要求为[0,60]的整数，单位为分钟"},
            {"LAN_EXP-2053", "ssId 参数不能为空"},
            {"LAN_EXP-2054", "img 参数异常"},
            {"LAN_EXP-2055", "pwd 含有非法字符！"},
            {"LAN_EXP-2056", "screenMode 参数不合法"},
            {"LAN_EXP-2057", "delete 参数异常"},
            {"LAN_EXP-2058", "delete 参数不合法"},
            {"LAN_EXP-2059", "isDisable 参数异常"},
            {"LAN_EXP-2060", "isDisable 参数不合法"},
            {"LAN_EXP-2061", "url 参数异常"},
            {"LAN_EXP-2062", "url 访问失败，设备无法下载"},
            {"LAN_EXP-2063", "callbackUrl 参数异常"},
            {"LAN_EXP-2064", "请输入正确格式的url 地址"},
            {"LAN_EXP-2065", "type 参数不合法"},
            {"LAN_EXP-2066", "type=2 时，content 不能为空。content 只允许数字、字母、英文字符，且长度不能超过255 个字符"},
            {"LAN_EXP-2067", "type=3 时，content 不能为空。韦根格式应为#26WG 任意数字#或#34WG 任意数字#"},
            {"LAN_EXP-2068", "type=4 时，content 不能为空。请根据要求传入正确的json 格式"},
            {"LAN_EXP-2069", "ttsModContent 长度超过255 个字符"},
            {"LAN_EXP-2070", "displayModContent 长度超过255 个字符"},
            {"LAN_EXP-2071", "displayTime 参数异常"},
            {"LAN_EXP-2072", "speech 参数异常"},
            {"LAN_EXP-2073", "displayTime 参数不合法"},
            {"LAN_EXP-2074", "systemMode 参数异常"},
            {"LAN_EXP-2075", "systemMode 参数不合法"},
            {"LAN_EXP-2076", "isShow 参数不合法"},
            {"LAN_EXP-2077", "内容为空！"},
            {"LAN_EXP-2078", "本地文件不存在"},
            {"LAN_EXP-2079", "writeSecretKey 参数异常"},
            {"LAN_EXP-2080", "username 参数异常"},
            {"LAN_EXP-2081", "password 参数异常"},
            {"LAN_EXP-2082", "username 参数不合法"},
            {"LAN_EXP-2083", "password 参数不合法"},
            {"LAN_EXP-2084", "relaySwitch 参数不合法"},
            {"LAN_EXP-2085", "serialOutMode 参数不合法"},
            {"LAN_EXP-2086", "serialOutContent 参数不合法"},
            {"LAN_EXP-2087", "weigenContent 参数不合法"},
            {"LAN_EXP-2088", "showIp 参数不合法"},
            {"LAN_EXP-2089", "showDeviceKey 参数不合法"},
            {"LAN_EXP-2090", "showPeopleNum 参数不合法"},
            {"LAN_EXP-2091", "isShow 参数异常"},
            {"LAN_EXP-2092", "imgUrl 参数异常"},
            {"LAN_EXP-2093", "Wifi 列表为空，请重新请求"},
            {"LAN_EXP-2094", "content json 格式解析错误"},
            {"LAN_EXP-2095", "232 串口输出失败"},
            {"LAN_EXP-2096", "screenMode 参数异常"},
            {"LAN_EXP-2097", "该设备不支持此操作"},
            {"LAN_EXP-2098", "写入数据过大"},
            {"LAN_EXP-2099", "请输入正确格式callbackUrl 地址"},
            {"LAN_EXP-2101", "recModeCardEnable 参数不合法"},
            {"LAN_EXP-2102", "recModeCardFaceEnable 参数不合法"},
            {"LAN_EXP-2103", "recModeCardFaceHardware 参数不合法"},
            {"LAN_EXP-2104", "recModeCardFaceIntf 参数不合法"},
            {"LAN_EXP-2105", "recDoubleValue 参数不合法"},
            {"LAN_EXP-2106", "recModeCardHardware 参数不合法"},
            {"LAN_EXP-2107", "recModeCardIntf 参数不合法"},
            {"LAN_EXP-2108", "recModeCardPhoto 参数不合法"},
            {"LAN_EXP-2109", "identifyDistance 参数不合法"},
            {"LAN_EXP-2110", "recRank 参数不合法"},
            {"LAN_EXP-2111", "saveIdentifyTime 参数不合法"},
            {"LAN_EXP-2112", "delayTimeForCloseDoor 参数不合法"},
            {"LAN_EXP-2113", "multiplayerDetection 参数不合法"},
            {"LAN_EXP-2114", "recModeFaceEnable 参数不合法"},
            {"LAN_EXP-2115", "identifyScores 参数不合法"},
            {"LAN_EXP-2116", "recModeIdcardFaceEnable 参数不合法"},
            {"LAN_EXP-2117", "recModeIdcardFaceHardware 参数不合法"},
            {"LAN_EXP-2118", "recModeIdcardFaceIntf 参数不合法"},
            {"LAN_EXP-2119", "recCardFaceValue 参数不合法"},
            {"LAN_EXP-2125", "displayModStrangerContent 参数不合法"},
            {"LAN_EXP-2126", "displayModStrangerType 参数不合法"},
            {"LAN_EXP-2127", "recStrangerType 参数不合法"},
            {"LAN_EXP-2129", "recStrangerTimesThreshold 参数不合法"},
            {"LAN_EXP-2130", "ttsModStrangerContent 参数不合法"},
            {"LAN_EXP-2131", "ttsModStrangerType 参数不合法"},
            {"LAN_EXP-2133", "recFailWiegandContent 参数不合法"},
            {"LAN_EXP-2134", "recFailWiegandType 参数不合法"},
            {"LAN_EXP-2135", "recNoPerComModeContent 参数不合法"},
            {"LAN_EXP-2136", "recNoPerComModeType 参数不合法"},
            {"LAN_EXP-2137", "recNoPerDisplayText1Content 参数不合法"},
            {"LAN_EXP-2138", "recNoPerDisplayText1Type 参数不合法"},
            {"LAN_EXP-2139", "recNoPerDisplayText2Content 参数不合法"},
            {"LAN_EXP-2140", "recNoPerDisplayText2Type 参数不合法"},
            {"LAN_EXP-2141", "recNoPerRelayType 参数不合法"},
            {"LAN_EXP-2142", "recNoPerTtsModeContent 参数不合法"},
            {"LAN_EXP-2143", "recNoPerTtsModeType 参数不合法"},
            {"LAN_EXP-2144", "recNoPerWiegandContent 参数不合法"},
            {"LAN_EXP-2145", "recNoPerWiegandType 参数不合法"},
            {"LAN_EXP-2146", "comModContent 参数不合法"},
            {"LAN_EXP-2147", "comModType 参数不合法"},
            {"LAN_EXP-2148", "displayModContent 参数不合法"},
            {"LAN_EXP-2149", "displayModType 参数不合法"},
            {"LAN_EXP-2150", "recSucDisplayText2Content 参数不合法"},
            {"LAN_EXP-2151", "recSucDisplayText2Type 参数不合法"},
            {"LAN_EXP-2152", "isOpenRelay 参数不合法"},
            {"LAN_EXP-2153", "ttsModType 参数不合法"},
            {"LAN_EXP-2154", "ttsModContent 参数不合法"},
            {"LAN_EXP-2155", "wg 参数不合法"},
            {"LAN_EXP-2156", "recSucWiegandContent 参数不合法"},
            {"LAN_EXP-2157", "recSucWiegandType 参数不合法"},
            {"LAN_EXP-2158", "scrDisplayText1Content 参数不合法"},
            {"LAN_EXP-2159", "scrDisplayText1Type 参数不合法"},
            {"LAN_EXP-2160", "companyName 参数不合法"},
            {"LAN_EXP-2161", "scrDisplayText2Content 参数不合法"},
            {"LAN_EXP-2162", "scrDisplayText2Type 参数不合法"},
            {"LAN_EXP-2164", "slogan 参数不合法"},
            {"LAN_EXP-2165", "intro 参数不合法"},
            {"LAN_EXP-2166", "whitelist 参数不合法"},
            {"LAN_EXP-2167", "applicationName 参数不合法"},
            {"LAN_EXP-2168", "wgInputType 参数不合法"},
            {"LAN_EXP-2169", "wgInputContentType 参数不合法"},
            {"LAN_EXP-2170", "recSucRelayType 参数不合法"},
            {"LAN_EXP-2171", "scrImage1Url 参数不合法"},
            {"LAN_EXP-2172", "scrImage2Url 参数不合法"},
            {"LAN_EXP-2173", "bigScrUrl 参数不合法"},
            {"LAN_EXP-2174", "scrDisableUrl 参数不合法"},
            {"LAN_EXP-2175", "TTL 接口冲突（刷卡，人卡合一）"},
            {"LAN_EXP-2176", "TTL 接口冲突（刷卡，人证比对）"},
            {"LAN_EXP-2177", "TTL 接口冲突（人卡合一，人证比对）"},
            {"LAN_EXP-2178", "232 接口冲突（刷卡，人卡合一）"},
            {"LAN_EXP-2179", "232 接口冲突（刷卡，人证比对）"},
            {"LAN_EXP-2180", "232 接口冲突（人卡合一，人证比对）"},
            {"LAN_EXP-2181", "USB 接口冲突（刷卡，人卡合一）"},
            {"LAN_EXP-2182", "USB 接口冲突（刷卡，人证比对）"},
            {"LAN_EXP-2183", "USB 接口冲突（人卡合一，人证比对）"},
            {"LAN_EXP-2184", "I2C 接口冲突（刷卡，人卡合一）"},
            {"LAN_EXP-2185", "I2C 接口冲突（刷卡，人证比对）"},
            {"LAN_EXP-2186", "I2C 接口冲突（人卡合一，人证比对）"},
            {"LAN_EXP-2187", "timezone 参数异常"},
            {"LAN_EXP-2188", "languageType 参数异常"},
            {"LAN_EXP-2189", "不支持的语言类型"},
            {"LAN_EXP-2190", "base64Enable 参数不合法"},
            {"LAN_EXP-2191", "relaySwitch 参数不能为空"},
            {"LAN_EXP-2192", "serialOutMode 参数不能为空"},
            {"LAN_EXP-2193", "serialOutContent 参数不能为空"},
            {"LAN_EXP-2194", "weigenContent 参数不能为空"},
            {"LAN_EXP-2195", "midnightRestartEnable 参数异常"},
            {"LAN_EXP-2196", "midnightRestartEnable 参数不能为空"},
            {"LAN_EXP-2197", "midnightRestartEnable 参数不合法"},
            {"LAN_EXP-2198", "repeatRegEnable 参数不合法"},
            {"LAN_EXP-2199", "regInterval 参数不合法"},
            {"LAN_EXP-2200", "timezone 参数不合法"},
            {"LAN_EXP-2201", "timezone 参数异常"},
            {"LAN_EXP-2204", "设备已禁用"},
            {"LAN_EXP-2205", "isWarning 参数异常"},
            {"LAN_EXP-2206", "recModeDOBEnable 参数不合法"},
            {"LAN_EXP-2207", "antiTamper 参数不合法"},
            {"LAN_EXP-2208", "inputNo 参数异常"},
            {"LAN_EXP-2209", "inputNo 参数不合法"},
            {"LAN_EXP-2210", "isEnable 参数异常"},
            {"LAN_EXP-2211", "isEnable 参数不合法"},
            {"LAN_EXP-2212", "type 参数异常"},
            {"LAN_EXP-2213", "type 参数不合法"},
            {"LAN_EXP-2214", "name 参数不合法"},
            {"LAN_EXP-2215", "relaytype 参数异常"},
            {"LAN_EXP-2216", "relaytype 参数不合法"},
            {"LAN_EXP-2217", "bbox 参数不合法"},
            {"LAN_EXP-2218", "图片格式不支持"},
            {"LAN_EXP-2219", "isTemperatureOpen 参数异常"},
            {"LAN_EXP-2220", "isTemperatureOpen 参数不合法"},
            {"LAN_EXP-2221", "isVoiceOpen 参数异常"},
            {"LAN_EXP-2222", "isVoiceOpen 参数不合法"},
            {"LAN_EXP-2223", "voiceContext 参数异常"},
            {"LAN_EXP-2224", "voiceContext 参数不合法"},
            {"LAN_EXP-2225", "errorTemperature 参数异常"},
            {"LAN_EXP-2226", "errorTemperature 参数不合法"},
            {"LAN_EXP-2227", "isMaskOpen 参数异常"},
            {"LAN_EXP-2228", "isMaskOpen 参数不合法"},
            {"LAN_EXP-2229", "readTemperatureType 参数异常"},
            {"LAN_EXP-2230", "readTemperatureType 参数不合法"},
            {"LAN_EXP-2231", "deviceStyle 参数不合法"},
            {"LAN_EXP-2232", "overlapValue 参数不合法"},
            {"LAN_EXP-2233", "audioVolume 参数不合法"},
            {"LAN_EXP-2234", "lightBrighnes 参数不合法"},
            {"LAN_EXP-2235", "recModePasswordEnable 参数不合法"},
            {"LAN_EXP-2236", "recModeFacePasswordEnable 参数不合法"},
            {"LAN_EXP-2237", "recModeQREnable 参数不合法"},
            {"LAN_EXP-2238", "固定IP 配置失败"},
            {"LAN_EXP-2239", "DHCP 配置失败"},
            {"LAN_EXP-2240", "wifi 加密方式不支持"},
            {"LAN_EXP-3001", "person 参数异常"},
            {"LAN_EXP-3002", "person 类json 格式错误"},
            {"LAN_EXP-3003", "人员ID(id)只允许数字0~9 和英文字母，且最大长度为255"},
            {"LAN_EXP-3004", "name 参数不能为空"},
            {"LAN_EXP-3005", "人员ID 已存在，请调用人员删除或者更新接口"},
            {"LAN_EXP-3006", "数据库异常，人员注册失败"},
            {"LAN_EXP-3007", "id 参数异常"},
            {"LAN_EXP-3008", "id 参数不能为空"},
            {"LAN_EXP-3009", "人员ID 不存在，请先调用人员注册接口"},
            {"LAN_EXP-3010", "数据库异常，人员删除失败"},
            {"LAN_EXP-3011", "facePermission 参数不合法"},
            {"LAN_EXP-3012", "idCardPermission 参数不合法"},
            {"LAN_EXP-3013", "faceAndCardPermission 参数不合法"},
            {"LAN_EXP-3014", "iDPermission 参数不合法"},
            {"LAN_EXP-3015", "personId 参数异常"},
            {"LAN_EXP-3016", "personId 参数不能为空"},
            {"LAN_EXP-3017", "人员ID(personId)只允许数字-1，0~9 和英文字母，且最大长度为255"},
            {"LAN_EXP-3018", "每页显示数量length 要求为(0,1000]的正整数"},
            {"LAN_EXP-3019", "页码index 为从0 开始计数的整数，必须小于总页码。总页码为：X"},
            {"LAN_EXP-3020", "passtime 参数异常"},
            {"LAN_EXP-3021", "passtime 参数不能为空"},
            {"LAN_EXP-3022", "时间段参数数量不正确或超出6 段限制"},
            {"LAN_EXP-3023", "时间格式错误"},
            {"LAN_EXP-3024", "时间超出限制"},
            {"LAN_EXP-3025", "时间段参数后时间段早于前时间段"},
            {"LAN_EXP-3026", "数据库异常，passtime 设置失败"},
            {"LAN_EXP-3027", "数据库异常，passtime 删除失败"},
            {"LAN_EXP-3029", "time 时间格式错误"},
            {"LAN_EXP-3030", "数据库异常，permissionTime 设置失败"},
            {"LAN_EXP-3031", "startTime 参数异常"},
            {"LAN_EXP-3032", "endTime 参数异常"},
            {"LAN_EXP-3033", "startTime 时间格式错误"},
            {"LAN_EXP-3034", "endTime 时间格式错误"},
            {"LAN_EXP-3035", "endTime 应大于startTime"},
            {"LAN_EXP-3036", "数据库异常，permissionTime 删除失败"},
            {"LAN_EXP-3037", "passtime 时间格式错误"},
            {"LAN_EXP-3038", "time 参数不能为空"},
            {"LAN_EXP-3039", "人员ID(id)只允许数字-1，0~9 和英文字母，且最大长度为255"},
            {"LAN_EXP-4002", "faceId 参数异常"},
            {"LAN_EXP-4005", "人员ID(personId)只允许数字0~9 和英文字母，且最大长度为255"},
            {"LAN_EXP-4006", "照片ID(faceId)只允许数字0~9 和英文字母，且最大长度为255"},
            {"LAN_EXP-4007", "照片ID 已存在，请调用删除或更新接口"},
            {"LAN_EXP-4008", "imgBase64 不能为空"},
            {"LAN_EXP-4009", "isEasyWay 参数不合法"},
            {"LAN_EXP-4010", "提供的图片文件不完整或格式不正确"},
            {"LAN_EXP-4011", "图片解析异常"},
            {"LAN_EXP-4012", "注册照片已达到最大数量限定(3 张)"},
            {"LAN_EXP-4013", "数据库异常，照片注册失败"},
            {"LAN_EXP-4014", "imgUrl 不能为空"},
            {"LAN_EXP-4015", "url 访问失败"},
            {"LAN_EXP-4016", "faceId 参数不能为空"},
            {"LAN_EXP-4017", "照片ID 不存在，请先调用照片注册接口"},
            {"LAN_EXP-4018", "数据库异常，照片删除失败"},
            {"LAN_EXP-4019", "base64 或url 必须有一个是非空的合法值"},
            {"LAN_EXP-4020", "数据库异常，照片更新失败"},
            {"LAN_EXP-4021", "feature 参数异常"},
            {"LAN_EXP-4022", "feature 无效，无法注册"},
            {"LAN_EXP-4024", "数据库异常，特征注册失败"},
            {"LAN_EXP-4025", "数据库异常，照片清空失败"},
            {"LAN_EXP-4026", "img1 参数异常"},
            {"LAN_EXP-4027", "img2 参数异常"},
            {"LAN_EXP-4028", "img1 图片解析异常"},
            {"LAN_EXP-4029", "img2 图片解析异常"},
            {"LAN_EXP-4030", "设备存储空间已满"},
            {"LAN_EXP-4031", "该人员没有这个照片ID，请先调用照片注册接口"},
            {"LAN_EXP-4032", "imgBase64 不能为gif 图"},
            {"LAN_EXP-4033", "isDeviceSavePhoto 参数不合法"},
            {"LAN_EXP-4034", "isLowerPhotoQuality 参数不合法"},
            {"LAN_EXP-4035", "isDeviceNeedGetFeature 参数不合法"},
            {"LAN_EXP-4036", "imgUrl 不能为gif 图"},
            {"LAN_EXP-4037", "url 不能为gif 图"},
            {"LAN_EXP-4038", "base64 不能为gif 图"},
            {"LAN_EXP-4039", "注册照片大小不能超过2M"},
            {"LAN_EXP-5007", "model 参数不合法"},
            {"LAN_EXP-5013", "数据库异常，识别记录删除失败"},
            {"LAN_EXP-5014", "unixTime 参数异常"},
            {"LAN_EXP-5015", "unixTime 时间格式错误"},
            {"LAN_EXP-5016", "length 参数异常"},
            {"LAN_EXP-5017", "index 参数异常"},
            {"LAN_EXP-5018", "unixTime 参数不能为空"},
            {"LAN_EXP-8006", "未检测到人脸"},
            {"LAN_EXP-8007", "检测到多个人脸"},
            {"LAN_EXP-8010", "人脸过小"},
            {"LAN_EXP-8013", "人脸过大或人脸不完整"},
            {"LAN_EXP-8011", "FaceSDK 无法从照片中提到特征"},
            {"LAN_EXP-8012", "FaceSDK 提取特征异常"},
            {"LAN_EXP-8014", "人脸偏转角度过大"},
            {"LAN_EXP-8015", "人脸面部太暗或太亮"},
            {"LAN_EXP-8016", "人脸清晰度过低"},
            {"LAN_EXP-8017", "人脸面部光线不均匀"},
            {"LAN_EXP-9000", "设备为WO 模式时，该接口不允许调用"}
        };
    }
}
